package org.mybatis.jpetstore.test;

public class T {
	
	public long f(int n){
		long a = 0;
		for(int i = 1;i<n+1;i++){
			a += (long)Math.pow(2, i);
		}
		return a;
	}
	
	public static void main(String[] args) {
		T t = new T();
		//int p = (int)Math.pow(2, 0)+(int)Math.pow(2, 2);
		//int m = (int)Math.pow(2, 2);
		//System.out.println(p & m);
		//System.out.println(0 & 2);
		//System.out.println((int)Math.pow(2, 42));
		//System.out.println(t.f(42));
		//System.out.println("8796093022206");//2^2 2^4 8    4+16=20,
		//8796093022206
		//8796093022206
		//8796093022206
		System.out.println(8796093022206L & 2147483648L);
	}
}
